package com.common.dagger.component;

import android.app.Activity;

import com.lsz.deport.ui.fragment.CompleteFragment;
import com.lsz.deport.ui.fragment.DeliveredFragment;
import com.lsz.deport.ui.fragment.DeliveryFragment;
import com.util_code.dagger.module.FragmentModule;
import com.util_code.dagger.scope.FragmentScope;

import dagger.Component;

@FragmentScope
@Component(dependencies = MyAppComponent.class, modules = FragmentModule.class)
public interface FragmentComponent {

    Activity getActivity();

    void inject(CompleteFragment completeFragment);

    void inject(DeliveredFragment deliveredFragment);

    void inject(DeliveryFragment deliveryFragment);
}
